package com.sky.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface DishMapper {

@Select("select count(*) from dish where category_id=#{id}")
    Integer selectCountById(Integer id);
}
